package com.application.meizhi.base;

import android.content.Context;

import rx.Subscription;

/**
 * Created by gskl on 16/10/9.
 */

public abstract class BasePresenter<T extends IBaseView> {
    protected Subscription subscription;
    protected Context context;
    protected T iView;

    public BasePresenter(Context context, T iView) {
        this.context = context;
        this.iView = iView;

    }

    /**
     * 初始化
     */
    public void init() {
        iView.initView();
    }

    public abstract void release();
}
